<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Key types</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="openssl.padding.html">Padding flags for asymmetric encryption</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="openssl.pkcs7.flags.html">PKCS7 Flags/Constants</a></div>
 <div class="up"><a href="openssl.constants.html">预定义常量</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="openssl.key-types" class="section">
   <h2 class="title">Key types</h2>
 <dl>

  
   <dt id="constant.openssl-keytype-rsa">
    <strong><code>OPENSSL_KEYTYPE_RSA</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.openssl-keytype-dsa">
    <strong><code>OPENSSL_KEYTYPE_DSA</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.openssl-keytype-dh">
    <strong><code>OPENSSL_KEYTYPE_DH</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.openssl-keytype-ec">
    <strong><code>OPENSSL_KEYTYPE_EC</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     This constant is only available when PHP is compiled with OpenSSL 0.9.8+.
    </span>
   </dd>

    
 </dl>

   <blockquote class="note"><p><strong class="note">Note</strong>: 
    <p class="para">This constant was added in 5.2.0.</p>
    <p class="para">
     <strong><code>OPENSSL_KEYTYPE_EC</code></strong>
    </p>
   </p></blockquote> 
  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="openssl.padding.html">Padding flags for asymmetric encryption</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="openssl.pkcs7.flags.html">PKCS7 Flags/Constants</a></div>
 <div class="up"><a href="openssl.constants.html">预定义常量</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
